<!doctype html>
<html>

<head>
	<meta charset="utf-8">
	<title>exp1_2</title>
	<style>
		table {
			border-collapse: collapse;
			table-layout: auto;
		}

		table,
		td,
		th {
			border: 1px solid black;
		}

		table {
			width: auto;
		}

		th {
			height: 50px;
		}
	</style>
</head>

<body>
	<table>
		<caption>
			带边框的表格
		</caption>
		<tr>
			<th>序号</th>
			<th>课程名称</th>
			<th>学分</th>
			<th>理论课学时</th>
			<th>实验课学分</th>
			<th>授课年级</th>
			<th>授课老师</th>
		</tr>
		<tr>
			<td align="center">1</td>
			<td>软件工程</td>
			<td align="center">3.5</td>
			<td align="center">44</td>
			<td align="center">1.0</td>
			<td align="center">2018</td>
			<td>王前</td>
		</tr>
		<tr>
			<td align="center">2</td>
			<td>数字图像处理</td>
			<td align="center">3.5</td>
			<td align="center">40</td>
			<td align="center">1.0</td>
			<td align="center">2018</td>
			<td>庄家俊</td>
		</tr>
		<tr>
			<td align="center">3</td>
			<td>计算机网络原理</td>
			<td align="center">4.0</td>
			<td align="center">54</td>
			<td align="center">1.0</td>
			<td align="center">2018</td>
			<td>王前</td>
		</tr>
		<tr>
			<td align="center">4</td>
			<td>WEB程序设计</td>
			<td align="center">3.0</td>
			<td align="center">40</td>
			<td align="center">1.0</td>
			<td align="center">2018</td>
			<td>侯超钧</td>
		</tr>
	</table>
</body>

</html>